Optimal. Leaf size=25 \[ \sqrt{-4 x^2+12 x-8}+\frac{1}{2} \sin ^{-1}(3-2 x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0107881, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {640, 619, 216} \[ \sqrt{-4 x^2+12 x-8}+\frac{1}{2} \sin ^{-1}(3-2 x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 640
Rule 619
Rule 216
Rubi steps
\begin{align*} \int \frac{5-4 x}{\sqrt{-8+12 x-4 x^2}} \, dx &=\sqrt{-8+12 x-4 x^2}-\int \frac{1}{\sqrt{-8+12 x-4 x^2}} \, dx\\ &=\sqrt{-8+12 x-4 x^2}+\frac{1}{8} \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-\frac{x^2}{16}}} \, dx,x,12-8 x\right )\\ &=\sqrt{-8+12 x-4 x^2}+\frac{1}{2} \sin ^{-1}(3-2 x)\\ \end{align*}
Mathematica [A] time = 0.009147, size = 25, normalized size = 1. \[ \sqrt{-4 x^2+12 x-8}+\frac{1}{2} \sin ^{-1}(3-2 x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.045, size = 24, normalized size = 1. \begin{align*} -{\frac{\arcsin \left ( -3+2\,x \right ) }{2}}+2\,\sqrt{-{x}^{2}+3\,x-2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.44415, size = 31, normalized size = 1.24 \begin{align*} 2 \, \sqrt{-x^{2} + 3 \, x - 2} - \frac{1}{2} \, \arcsin \left (2 \, x - 3\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.39347, size = 120, normalized size = 4.8 \begin{align*} 2 \, \sqrt{-x^{2} + 3 \, x - 2} + \frac{1}{2} \, \arctan \left (\frac{\sqrt{-x^{2} + 3 \, x - 2}{\left (2 \, x - 3\right )}}{2 \,{\left (x^{2} - 3 \, x + 2\right )}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \frac{\int \frac{4 x}{\sqrt{- x^{2} + 3 x - 2}}\, dx + \int - \frac{5}{\sqrt{- x^{2} + 3 x - 2}}\, dx}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.58267, size = 31, normalized size = 1.24 \begin{align*} 2 \, \sqrt{-x^{2} + 3 \, x - 2} - \frac{1}{2} \, \arcsin \left (2 \, x - 3\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]